package com.norrisboat.plugins

import com.norrisboat.routes.authRoutes
import com.norrisboat.routes.quizRoutes
import com.norrisboat.routes.realtimeQuizRoutes
import com.norrisboat.routes.staticRoutes
import io.ktor.server.application.*
import io.ktor.server.http.content.*
import io.ktor.server.response.*
import io.ktor.server.routing.*

fun Application.configureRouting() {

    routing {
        get("/") {
            call.respondText("OK Ziuq")
        }
        staticRoutes()
        authRoutes()
        quizRoutes()
        realtimeQuizRoutes()
    }
}
